﻿using System.Collections.Generic;
using PortalCurriculo.Domain.Interface;
using System.Linq;

namespace PortalCurriculo.Domain
{
    public partial class EstadoCivil : IEstadoCivil
    {
        public List<EstadoCivil> SelecionarAtivos()
        {
            return (from estadoCivil in Context.Instance.EstadoCivils
                    where estadoCivil.Ativo == true
                    select estadoCivil).ToList();
        }
    }
}
